# REQUIRES: amdgpu-registered-target
# RUN: not llvm-reduce -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg %s --test-arg --input-file does-not-exist.mir 2>&1 | FileCheck -DMSG=%errc_ENOENT -check-prefix=ERR %s

# ERR: {{.*}}llvm-reduce{{.*}}: [[MSG]]
